package com.hg.design.creation.factory.biancheng.ex2;

public class HorseFarm implements AnimalFarm {
    public Animal newAnimal() {
        System.out.println("新马出生！");
        return new Horse();
    }
}
